<?php include_once("header.html")?>

<div id="wrap">  <br />
<?php include_once("home_left.html")?>
    <div class="admincontent">

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><div class="table2TitleBg">
            <div class="table2TitleBg2">
    		  	<div class="table2Title"><div class="table2TitleLeft"><span><?php echo lang('announcement')?></span></div></div>
            </div>
           </div></td>
        </tr>

        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="table2LeftBorder"></td>
              <td>
              <?php if(isset($data['records']) && is_array($data['records'])){
							foreach ($data['records'] as $k=>$v){?>	
              	<div style="font-size:14px; padding:10px 0;"><a href="/index.php/home/noticedetail/<?php echo $v['an_id']?>"><?php echo $k+1;?>. [<?php echo $v['an_date']?>] <?php echo splitx($v['an_title'])?> </a></div>
              	 <?php }
						}?>
              <div class="pages"><?php echo $data['pagebar']?></div>
              </td>
              <td class="table2RightBorder"></td>
            </tr>
            <tr>
              <td class="table2BottomLeft"></td>
              <td class="table2Bottom"></td>

              <td class="table2BottomRight"></td>
            </tr>
          </table></td>
        </tr>
      </table><br />
  </div>

</div>

<?php include_once("footer.html")?>
